#include "mainwindow.h"

#include <QApplication>
#include <QString>
#include <QFile>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    QFile qssFile(":/style/style.qss");
    if(qssFile.open(QFile::ReadOnly)){
        a.setStyleSheet(QLatin1String(qssFile.readAll()));
    }
    qssFile.close();

    w.setWindowTitle("相册");
    w.showMaximized();
    return a.exec();
}
